
public class TestBucles02 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		int x = 1;
		int i = 1;
		int n = 6;
		
		while (i < n)
			x = x * i++;
		
		System.out.println(x);

	}

}
